#define a class
class Dog:
    def __init__(self,name,age): #name and age is attributes
        self.name = name
        self.age = age

    def bark(self): #bark is a method
        return f"{self.name} sayS Woof!"

my_dog = Dog("Buddy",5)
print(my_dog.bark())